Skip to content

서수현 Pull requests 테스트#8

Open
tontonjung wants to merge 5 commits intojunsuk5:masterfrom
tontonjung:master
Open

서수현 Pull requests 테스트#8
tontonjung wants to merge 5 commits intojunsuk5:masterfrom
tontonjung:master

Conversation

@tontonjung
Copy link
Copy Markdown

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the README.md file with personal details and adds a new Python script, nana.py. The review feedback identifies a critical syntax error in nana.py where a print statement is missing a closing parenthesis and fails to use an f-string prefix for variable interpolation. Additionally, a style improvement was suggested to remove unnecessary whitespace in a function call to comply with PEP 8 standards.

nana.py Outdated
n = 30
name = "파이썬"

print ("Im {name}. age is {n}."
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

nana.py 파일의 5번 라인에 문법 오류가 있습니다. print 함수의 괄호가 닫히지 않았으며, PEP 8 가이드라인에 따라 문자열 내에서 변수를 출력할 때는 f-string(문자열 앞 f 접두사) 형식을 사용하는 것이 권장됩니다.

Suggested change
print ("Im {name}. age is {n}."
print(f"Im {name}. age is {n}.")

@@ -0,0 +1,6 @@
print ("Hello")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

PEP 8 가이드라인에 따라 함수 이름과 괄호 사이의 공백을 제거하는 것이 좋습니다.

print("Hello")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant